<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Map, java.util.List" %>
<%@page import="system.config.HHConfig"%>
<jsp:include page="./common/header.jsp" flush="true" />
</head>
<body id="page2" onload="new ElementMaxHeight();">
	<jsp:include page="./common/logo-navmenu.jsp" flush="true" />
	<!-- content -->
	<div id="content">
		<div class="container">
            <jsp:include page="./common/banner.jsp" flush="true"/>
			<!-- box begin -->
			<div class="box">
				<div class="border-top">
					<div class="border-right">
						<div class="border-bot">
							<div class="border-left">
								<div class="left-top-corner">
									<div class="right-top-corner">
										<div class="right-bot-corner">
											<div class="left-bot-corner">
												<div class="inner">
													<h2>最新动态</h2>
													<p>这里是显示的是我们基地的最新动态,非常欢迎您来熟悉并了解我们</p>
													<ul class="list2">
                                                    <%
                                                        List<Map> newsarticleList  = (List<Map>)request.getAttribute("newsarticleList");
                                                        for(int i = 0; null != newsarticleList && i < newsarticleList.size(); i ++) {
                                                            Map caseRecord  = newsarticleList.get(i);
                                                    %>
                                                    	<li>
                                                            <img alt="<%=caseRecord.get("newsarticle_name") %>" src="<%=HHConfig.SITE_URL + "/" + caseRecord.get("image_path") %>" width="76" height="76"/>
															<h4> <a href='<%=HHConfig.SITE_URL %>/index.jsp/news/detail?id=<%=caseRecord.get("newsarticle_id") %>'/><strong><%=caseRecord.get("newsarticle_name") %></strong></a> </h4>
                                                            <%=caseRecord.get("description") %>
                                                        </li>
                                                    <%
                                                        }
                                                    %>
													</ul>
													<div class="blue-black">
													<%=
														request.getAttribute("pageHtml")
													%>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- box end -->
		</div>
	</div>
	<!-- footer -->
	<jsp:include page="./common/footer.jsp" flush="true" />
</body>
</html>